package com.anjubao.parking.municipal.parkinglot;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "com.anjubao.parking.municipal")
@EnableSwagger2
@EnableFeignClients
public class ParkingLotApplication {
	private static final Logger logger = LoggerFactory.getLogger(ParkingLotApplication.class);

	public static void main(String[] args) {
		logger.info("Application started successfully");
		SpringApplication.run(ParkingLotApplication.class, args);
	}
}
